<?php
require_once('config.php');
/**
 * Including Twig and creating obj 
 */
require_once 'Twig/Autoloader.php';
Twig_Autoloader::register();
$loader = new Twig_Loader_Filesystem(core . 'tpl');
$twig = new Twig_Environment ($loader, array(
    'cache' => core . 'tpl_c',
));

/**
 * Include database class 
 */
require_once 'classes/database.php';
$dbh = new database();